From: Jakub Steiner Date: Wed, 8 Jan 2020 10:08:14 +0000 (+0100) Subject: theme: fix HC after refactoring X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~781^2^2~236 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f93e4d74246485b328ecff72e0d6d99cd7cf42fe;p=gnome-shell.git theme: fix HC after refactoring - panel fg color was derived from bg color. Not a good idea as it's not just light/drk, but HC as well. - deriving from dark theme means contrast for things like popover items is better. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904 --- diff --git a/data/theme/gnome-shell-high-contrast.scss b/data/theme/gnome-shell-high-contrast.scss index 23a55eb86..ed52bbb86 100644 --- a/data/theme/gnome-shell-high-contrast.scss +++ b/data/theme/gnome-shell-high-contrast.scss @@ -1,4 +1,4 @@ -$variant: 'light'; +$variant: 'dark'; @import "gnome-shell-sass/_high-contrast-colors"; //use gtk colors @import "gnome-shell-sass/_drawing"; diff --git a/data/theme/gnome-shell-sass/widgets/_panel.scss b/data/theme/gnome-shell-sass/widgets/_panel.scss index ba8e6675c..298877f23 100644 --- a/data/theme/gnome-shell-sass/widgets/_panel.scss +++ b/data/theme/gnome-shell-sass/widgets/_panel.scss @@ -3,7 +3,7 @@ $panel_corner_radius: $base_border_radius+1; $panel_bg_color: if($variant == 'light', rgba(0,0,0,0.9), #000); -$panel_fg_color: if($variant == 'light', darken($bg_color, 15%), darken($fg_color, 10%)); +$panel_fg_color: if($variant == 'light', darken($fg_color, 15%), darken($fg_color, 10%)); $panel_height: 1.86em; @@ -103,4 +103,4 @@ $panel_height: 1.86em; #appMenu { spacing: $base_spacing; .label-shadow { color: transparent; } -} \ No newline at end of file +}